Skip to content

Various changes to get ARIA 1.1 compatibility.#45

Open
anemirovsky wants to merge 1 commit intowoocommerce:trunkfrom
giant-rabbit:aria-1.1-search
Open

Various changes to get ARIA 1.1 compatibility.#45
anemirovsky wants to merge 1 commit intowoocommerce:trunkfrom
giant-rabbit:aria-1.1-search

Conversation

@anemirovsky
Copy link
Copy Markdown

Add support for ARIA 1.1 per https://www.w3.org/TR/wai-aria-1.1/#combobox.

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • "combobox" role attribute added to the wrapper
  • "aria-haspopup" changed from "true" (which means "menu") to "listbox"
    to correctly match the role of the element containing the options
  • "aria-activedescendant" removed from the combobox element so it
    appears just on the element with the "textbox" role
  • "aria-multiline" set to "false" for the textbox element
  • "aria-owns" switched to "aria-controls" on the textbox element

The following changes were made to match the spec at
https://www.w3.org/TR/wai-aria-1.1/#combobox:
* "combobox" role attribute added to the wrapper
* "aria-haspopup" changed from "true" (which means "menu") to "listbox"
  to correctly match the role of the element containing the options
* "aria-activedescendant" removed from the combobox element so it
  appears just on the element with the "textbox" role
* "aria-multiline" set to "false" for the textbox element
* "aria-owns" switched to "aria-controls" on the textbox element
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
pull requests woocommerce#44 and woocommerce#45 are merged to our code base from upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant